package com.hkts.naturalgas.flow.mapper;

import com.hkts.naturalgas.flow.entity.FlowTemplateinfo;
import com.hkts.naturalgas.mybaitsPlus.RootMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 流程模板表 Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2022-08-31
 */
@Mapper
public interface FlowTemplateinfoMapper extends RootMapper<FlowTemplateinfo> {
    List<FlowTemplateinfo> getTemplateListByAuth(String userId, String roleId, String departmentId);

    List<FlowTemplateinfo> getTemplateListByOvertimeAuth(String userId, String roleId, String departmentId);
}
